#ifndef LOGIN_H
#define LOGIN_H

#include <QDialog>
#include "datebase.h"

namespace Ui {
class Login;
}

class Login : public QDialog
{
    Q_OBJECT

public:
    explicit Login(datebase *db,QWidget *parent = 0);
    ~Login();

private slots:
    void on_pushButton_LoginOk_clicked();
    void on_pushButton_Quit_clicked();
    void GetUser();
private:
    Ui::Login *ui;
    datebase *login_mydb;
};

#endif // LOGIN_H
